<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common.jspf"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title></title>

		<!--Import materialize.css-->
		<link type="text/css" rel="stylesheet" href="${ctx}/static/css/materialize.min.css" media="screen,projection" />
		<!-- 导入补充样式 -->
		<link type="text/css" rel="stylesheet" href="${ctx}/static/css/supplement.css" />
		<!-- Material Design图标 -->
		<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

		<!--Let browser know website is optimized for mobile-->
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	</head>

	<body>
		<header>
			<nav>
				<div class="nav-wrapper">
					<div class="col s12" style="padding: 0 0.75em;">
						<a href="#" class="breadcrumb">角色管理</a>
						<a href="toRoleList.action" class="breadcrumb">角色维护</a>
						<a href="#" class="breadcrumb">角色添加</a>
					</div>
				</div>
			</nav>

			<div class="container"></div>
			<%@ include file="/jsp/nav.jsp" %>
		</header>

		<main>
			<div class="row">
				<div class="col s12 m10 110">
					<div class="row">
						<form class="col s8 card" method="post" action="saveRole.action">
							<div class="row"></div>
							<div class="row">
								<div class="input-field col s12">
									<input id="name" name="name" type="text" class="validate">
									<label for="name">角色名称</label>
								</div>
							</div>
							<div class="row">
								<div class="input-field col s12">
									<textarea id="description" name="description" class="materialize-textarea"></textarea>
									<label for="description">描述</label>
								</div>
							</div>
							<div class="row right">
								<input type="submit" class="btn" value="提交" />
								<a class="waves-effect waves-light btn" href="toRoleList.action">返回</a>
							</div>
						</form>
					</div>
				</div>
			</div>
		</main>

		<script src="${ctx}/static/js/jquery-3.1.0.min.js"></script>
		<script src="${ctx}/static/js/materialize.min.js"></script>
	</body>

</html>